package com.koron.ticket.work.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

@Getter
@AllArgsConstructor
public enum TicketType {

    ElectricalFirst("ElectricalFirst", "电气第一种工作票"),
    ElectricalSecond("ElectricalSecond","电气第二种工作票"),
    ThirdTicket("ThirdTicket","第三种工作票"),
    MechanicalTicket("MechanicalTicket","机械工作票"),
    PowerLineFirst("PowerLineFirst","电力线路第一种工作票"),
    PowerLineSecond("PowerLineSecond","电力线路第二种工作票"),
    FirstLevelHotWork("FirstLevelHotWork","一级动火工作票"),
    SecondLevelHotWork("SecondLevelHotWork","二级动火工作票"),
    HydraulicWorkFist("HydraulicWorkFirst","水工第一种工作票"),
    HydraulicWorkSecond("HydraulicWorkSecond","水工第二种工作票"),
    HighTaskTicket("HighTaskTicket","高处作业票"),
    HotSafetyTicket("HotSafetyTicket", "动火安全作业票"),
    TempUsePowerSecure("TempUsePowerSecure", "临时用电安全作业票"),
    HoistingSafety("HoistingSafety", "吊装安全作业票"),
    YcPowerLineFirst("YcPowerLineFirst", "电力线路一种"),
    YcPowerLineSecond("YcPowerLineSecond", "电力线路二种"),
    NarrowWork("NarrowWork", "有限空间作业票"),
    ZsjBidSectionFirst("ZsjBidSectionFirst", "珠三角工作一票"),
    ZsjBidSectionSecond("ZsjBidSectionSecond", "珠三角工作二票");

    /**
     * 工作票类型
     */
    private String type;
    /**
     * 工作票类型名称
     */
    private String name;

    public String getWorkFlow() {
        return type;
    }
}
